<?php
$query=mysql_query("delete from quality_plan where id_qa='$_GET[id]'");
if($query){
    $_SESSION['success']='Quality plan has deleted successfully';
}else{
    $_SESSION['failed']='failed to delete Quality plan';
}        
redirect('index.php?page=quality_plan/qp-list');
?>
